﻿using BarManager.Core.ApplicationService.Interfaces;
using BarManager.Core.BusinessRules.Interfaces.Validator;
using BarManager.Core.DomainModel;
using BarManager.Core.DomainService;
using BarManager.Core.Entity;

namespace BarManager.Core.ApplicationService
{
    public class CargoService : BaseApplicationService<Cargo>, ICargoService
    {
        private ICargoRepository Repository
        {
            get { return (ICargoRepository)this.BaseRepository; }
        }

        public CargoService(IObjectContext context, ICargoRepository repository, ICargoValidator valitador)
            : base(context, repository, valitador)
        {

        }
    }
}
